package cn.tedu.exam1.plan.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PlanSavaParam {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "计划名称")
    private String planName;
    @ApiModelProperty(value = "考试名称")
    private String subjectName;
    @ApiModelProperty(value = "剩余天数")
    private String days;
    @ApiModelProperty(value = "计划状态")
    private String planStatus;
    @ApiModelProperty(value = "计划开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty(value = "计划结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}